package com.meizi.mall.product.constant;

/**
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021/1/20 16:42
 */
public class ProductConstant {
    public  enum StatusEnum {
        NEW_PRODUCT(0,"新建"),
        SPU_UP(1,"上架"),

        SPU_DOWN(2,"下架");
        private Integer code;
        private String msg;
        StatusEnum(int code, String msg) {
            this.code = code;
            this.msg = msg;
        }
        public int getCode() {
            return  code;
        }

        public String getMsg() {
            return msg;
        }

    }
}
